Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request refactors several UI components in the calendar generator to remove Material UI (MUI) dependencies and replace them with Tailwind CSS and Lucide icons. It also includes minor logic improvements and code cleanups in
CourseTimelineComponent. The result is a more lightweight codebase with improved consistency in styling and icon usage.UI Library Migration and Styling Updates:
Box,Typography,Tooltip, etc.), and icons inCalendarNavBar.jsxandCourseTimelineComponent.jsxwith Tailwind CSS classes and Lucide icons for a consistent and lightweight UI.CalendarNavBar.jsxandCourseTimelineComponent.jsxto use Tailwind utility classes, improving maintainability and visual consistency.Icon Replacement:
NavigateBeforeIcon,InfoIcon,CancelIcon) for Lucide icons (ChevronLeft,Info,CircleX, etc.) throughout navigation and info buttons inCalendarNavBar.jsx.Code and Logic Improvements:
CourseTimelineComponent.jsxfor date/duration calculations by specifying radix inparseIntcalls and clarifying destructuring assignments.clickX→hoverX,clickPercent→hoverPercent, etc.).noCourses) fromCalendarComponent.jsxandCalendarNavBar.jsxfor cleaner code.Dependency Cleanup:
package.json, reducing bundle size and eliminating unused libraries.Theme Script Update:
index.htmlto use local storage and native color scheme toggling, ensuring better performance and user experience.